package com.schoolhelper.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.schoolhelper.entity.TOrder;
import com.schoolhelper.vo.OrderCommentVo;
import com.schoolhelper.vo.OrderDiscussVo;
import com.schoolhelper.vo.OrderImgVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * (TOrder)表数据库访问层
 *
 * @author makejava
 * @since 2021-04-23 21:03:34
 */
@Repository
public interface TOrderDao extends BaseMapper<TOrder> {
    List<OrderDiscussVo> getOrderDiscuss();
    List<OrderImgVo> getOrderImage();
    List<OrderCommentVo> getOrderComment();

    TOrder getLastOrder();
}
